package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysUserWithdrawalPolicy;

import java.math.BigDecimal;

/**
 * 提现政策业务对象 sys_user_withdrawal_policy
 *
 * @author Lion Li
 * @date 2025-07-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserWithdrawalPolicy.class, reverseConvertGenerate = false)
public class SysUserWithdrawalPolicyBo extends BaseEntity {

    /**
     *
     */
    private Long id;

    @NotNull(message = "用户ID不能为空！")
    private Long userId;

    /**
     * 税点
     */
    @NotNull(message = "税点不能为空！")
    private BigDecimal rate;

    /**
     * 单笔
     */
    @NotNull(message = "单笔不能为空！")
    private BigDecimal minus;

    /**
     * 备注
     */
    private String remark;


}
